<?php
$form = $this->beginWidget('CActiveForm', array(
    'id' => 'form_reset_password', //.ConstantDefine::AJAX_BLOCK_SEPERATOR.$this->id.ConstantDefine::AJAX_BLOCK_SEPERATOR.$this->block['block_id'],
    'enableAjaxValidation' => false,
    'clientOptions' => array(
        'validateOnSubmit' => true,
    ),
        ));
?>
<div class="form_textfield">
    <?php echo $form->labelEx($model, 'password'); ?>&nbsp;&nbsp;&nbsp;
    <?php echo $form->passwordField($model, 'password'); ?>
    <?php echo $form->error($model, 'password'); ?>
</div>
<div class="form_textfield">
    <?php echo $form->labelEx($model, 'passwordConfirm'); ?>
    <?php echo $form->passwordField($model, 'passwordConfirm'); ?>
    <?php echo $form->error($model, 'passwordConfirm'); ?>
</div>
<div>
    <input type="submit" class="buttonSubmit" name="send-email" value="Reset Password">
</div>
<?php $this->endWidget(); ?>
